import minVueText from './mian'

let vue = new minVueText({
    //数据
    data: {
        for: '123',
        asd: {
            asd: "sdf"
        }
    },
    //模板
    template: {
        tagName: 'div',
        props: { className: '123' },
        attr: {
            style: {
                width: "100px",
                height: "100px"
            }
        },
        children: [{
            tagName: 'span',
            mode: {
                data:function(){
                    return this.data.asd
                },
                key:"asd"
            }},{
            tagName: 'div',
            children: [{
                tagName: 'div',
                props: {},
                children: []
            }, {
                tagName: 'div',
                props: {},
                children: [{
                    tagName: 'div',
                    props: {},
                    children: []
                },]
            },]
        }, {
            tagName: 'input',
            mode: {
                data:function(){
                    return this.data.asd
                },
                key:"asd"
            },
            props: {},
            children: [{
                tagName: 'div',
                props: {},
                children: []
            },]
        }, {
            tagName: 'div',
            props: {},
            children: []
        }, {
            tagName: 'div',
            props: {},
            children: []
        },]
    },
})